package com.skytech.component.monitor.data;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface MonitorDataDAO extends JpaRepository<MonitorData,String> {

    Page<MonitorData> findByProvince(String province, Pageable pageable);

    List<MonitorData> findByProvince(String province);

    List<MonitorData> findByCompanyNameAndMonitorInfoAndMonitorPointAndMonitorTimeAndMonitorType(String companyName,String monitorInfo,String monitorPoint,String monitorTime,String monitorType);
}
